package com.发布订阅模式.第二种实现方式;

import lombok.Data;

/**
 * @author: wh(1835734390 @ qq.com)
 * @date: 2023/5/28 16:59
 * @description:
 * @version:
 */
@Data
public class TangSheng {
    public static void run() {
        System.out.println("唐僧跑路了");
    }

    public static void fly() {
        System.out.println("唐僧被妖精抓走了");
    }
}
